package day07;

import java.io.FileInputStream;
import java.io.FileOutputStream;

public class Demo08 {

	public static void main(String[] args) throws Exception {
		String file="E:/test.pdf";
		FileInputStream input=new FileInputStream(file);
		FileOutputStream out=new FileOutputStream("E:/test1.pdf");
		
		int b;
		while((b=input.read())!=-1){
			out.write(b);
		}
		
		input.close();
		out.close();
		
		
	}

}
